package cn.drew.house.mapper;

import cn.drew.house.domain.RentingInformation;
import cn.drew.house.query.RentingInformationQuery;

import java.util.List;


public interface RentingInformationMapper {
    //添加
    void add(RentingInformation rentingInformation);
    //修改
    void update(RentingInformation rentingInformation);
    //删除
    void delete(Long id);
    //查找一个
    RentingInformation findById(Long id);
    //查找所有
    List<RentingInformation> findAll();
    //分页条数
    Integer queryByCount(RentingInformationQuery rentingInformationQuery);
    //分页查找数据
    List<RentingInformation> queryByPage(RentingInformationQuery rentingInformationQuery);

    void patchDelete(List<Long> ids);
}
